package com.qf.student.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Data // 生成set/get方法
@AllArgsConstructor // 全参构造器
@NoArgsConstructor // 无惨构造器
public class Student {

    private Integer id;

    private String name;

    private Integer age;

    private String email;

    private String phone;

    private Integer sex;

    private Date createTime;

    private List<String> loves; // 爱好

    private String course; // 课程
}
